<div class="view ui-corner-all">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('in_date')); ?>:</b>
	<?php echo CHtml::encode(Yii::app()->format->formatDate($data->in_date)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('Marking')); ?>:</b>
	<?php echo ($data->marking)?CHtml::encode($data->marking):"No reference is set."; ?>
	<br />
		
	<b><?php echo CHtml::encode($data->getAttributeLabel('shipper_id')); ?>:</b>
	<?php echo ($data->shipper)?CHtml::encode($data->shipper->cname):"No shipper"; ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('consignee_id')); ?>:</b>
	<?php echo ($data->consignee)?CHtml::encode($data->consignee->cname):"No consignee"; ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('remark')); ?>:</b>
	<?php echo CHtml::encode($data->remark); ?>
	<br />

</div>